package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 追溯结果对象 a_result
 * 
 * @author ruoyi
 * @date 2025-03-16
 */
public class AResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** PRE_ID */
    @Excel(name = "PRE_ID")
    private Long preId;

    /** 组织ID */
//    @Excel(name = "组织ID")
    private String groupId;

    /** 工艺路线ID */
    @Excel(name = "工艺路线ID")
    private String routeId;

    /** 工艺路线ID */
    @Excel(name = "工艺路线名称")
    private String routeName;

    /** 工序 */
    @Excel(name = "工序")
    private String step;

    /** 工序 */
    @Excel(name = "工序名称")
    private String stepName;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String eqpId;

    /** 进站时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "进站时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trackInTime;

    /** 出站时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出站时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trackOutTime;

    /** 小包编码 */
    @Excel(name = "小包编码")
    private String packName;

    /** 数量 */
    @Excel(name = "数量")
    private Long qty;

    /** 一三道浆料 */
    @Excel(name = "一三道浆料")
    private String jlbatchA;

    /** 二四道浆料 */
    @Excel(name = "二四道浆料")
    private String jlbatchB;

    /** 一道网板 */
    @Excel(name = "一道网板")
    private String wbbatchA;

    /** 二道网板 */
    @Excel(name = "二道网板")
    private String wbbatchB;

    /** 三道网板 */
    @Excel(name = "三道网板")
    private String wbbatchC;

    /** 四道网板 */
    @Excel(name = "四道网板")
    private String wbbatchD;

    /** 发料批次 */
    @Excel(name = "发料批次")
    private String flbatch;

    /** 工单号 */
    @Excel(name = "工单号")
    private String productionOrder;

    /** 入库批次 */
    @Excel(name = "入库批次")
    private String inBatchNo;

    /** 托号 */
    @Excel(name = "托号")
    private String palletNo;

    /** 箱号 */
    @Excel(name = "箱号")
    private String boxNo;

    /** 成品料号 */
    @Excel(name = "成品料号")
    private String productCode;

    /** 成品描述 */
    @Excel(name = "成品描述")
    private String productDesc;

    /** 生产工厂 */
    @Excel(name = "生产工厂")
    private String productionPlant;

    /** 生产类型 */
    @Excel(name = "生产类型")
    private String productionType;

    /** 效率 */
    @Excel(name = "效率")
    private String efficiency;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 开压 */
    @Excel(name = "开压")
    private String pressure;

    /** 功率 */
    @Excel(name = "功率")
    private String power;

    /** 等级 */
    @Excel(name = "等级")
    private String grade;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPreId(Long preId) 
    {
        this.preId = preId;
    }

    public Long getPreId() 
    {
        return preId;
    }
    public void setGroupId(String groupId) 
    {
        this.groupId = groupId;
    }

    public String getGroupId() 
    {
        return groupId;
    }
    public void setStep(String step) 
    {
        this.step = step;
    }

    public String getStep() 
    {
        return step;
    }
    public void setEqpId(String eqpId) 
    {
        this.eqpId = eqpId;
    }

    public String getEqpId() 
    {
        return eqpId;
    }
    public void setTrackInTime(Date trackInTime) 
    {
        this.trackInTime = trackInTime;
    }

    public Date getTrackInTime() 
    {
        return trackInTime;
    }
    public void setTrackOutTime(Date trackOutTime) 
    {
        this.trackOutTime = trackOutTime;
    }

    public Date getTrackOutTime() 
    {
        return trackOutTime;
    }
    public void setPackName(String packName) 
    {
        this.packName = packName;
    }

    public String getPackName() 
    {
        return packName;
    }
    public void setQty(Long qty) 
    {
        this.qty = qty;
    }

    public Long getQty() 
    {
        return qty;
    }
    public void setJlbatchA(String jlbatchA) 
    {
        this.jlbatchA = jlbatchA;
    }

    public String getJlbatchA() 
    {
        return jlbatchA;
    }
    public void setJlbatchB(String jlbatchB) 
    {
        this.jlbatchB = jlbatchB;
    }

    public String getJlbatchB() 
    {
        return jlbatchB;
    }
    public void setWbbatchA(String wbbatchA) 
    {
        this.wbbatchA = wbbatchA;
    }

    public String getWbbatchA() 
    {
        return wbbatchA;
    }
    public void setWbbatchB(String wbbatchB) 
    {
        this.wbbatchB = wbbatchB;
    }

    public String getWbbatchB() 
    {
        return wbbatchB;
    }
    public void setWbbatchC(String wbbatchC) 
    {
        this.wbbatchC = wbbatchC;
    }

    public String getWbbatchC() 
    {
        return wbbatchC;
    }
    public void setWbbatchD(String wbbatchD) 
    {
        this.wbbatchD = wbbatchD;
    }

    public String getWbbatchD() 
    {
        return wbbatchD;
    }
    public void setFlbatch(String flbatch) 
    {
        this.flbatch = flbatch;
    }

    public String getFlbatch() 
    {
        return flbatch;
    }

    public String getStepName() {
        return stepName;
    }

    public void setStepName(String stepName) {
        this.stepName = stepName;
    }

    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public String getProductionOrder() {
        return productionOrder;
    }

    public void setProductionOrder(String productionOrder) {
        this.productionOrder = productionOrder;
    }

    public String getInBatchNo() {
        return inBatchNo;
    }

    public void setInBatchNo(String inBatchNo) {
        this.inBatchNo = inBatchNo;
    }

    public String getPalletNo() {
        return palletNo;
    }

    public void setPalletNo(String palletNo) {
        this.palletNo = palletNo;
    }

    public String getBoxNo() {
        return boxNo;
    }

    public void setBoxNo(String boxNo) {
        this.boxNo = boxNo;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductDesc() {
        return productDesc;
    }

    public void setProductDesc(String productDesc) {
        this.productDesc = productDesc;
    }

    public String getProductionPlant() {
        return productionPlant;
    }

    public void setProductionPlant(String productionPlant) {
        this.productionPlant = productionPlant;
    }

    public String getEfficiency() {
        return efficiency;
    }

    public void setEfficiency(String efficiency) {
        this.efficiency = efficiency;
    }

    public String getProductionType() {
        return productionType;
    }

    public void setProductionType(String productionType) {
        this.productionType = productionType;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getPressure() {
        return pressure;
    }

    public void setPressure(String pressure) {
        this.pressure = pressure;
    }

    public String getPower() {
        return power;
    }

    public void setPower(String power) {
        this.power = power;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("preId", getPreId())
            .append("groupId", getGroupId())
            .append("step", getStep())
            .append("eqpId", getEqpId())
            .append("trackInTime", getTrackInTime())
            .append("trackOutTime", getTrackOutTime())
            .append("packName", getPackName())
            .append("qty", getQty())
            .append("jlbatchA", getJlbatchA())
            .append("jlbatchB", getJlbatchB())
            .append("wbbatchA", getWbbatchA())
            .append("wbbatchB", getWbbatchB())
            .append("wbbatchC", getWbbatchC())
            .append("wbbatchD", getWbbatchD())
            .append("flbatch", getFlbatch())
            .toString();
    }
}
